package com.dhcc.DRGsHosp.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.openkoala.koala.commons.domain.KoalaLegacyEntity;

/**
 * 
 * @ClassName: MrqDictWeight  
 * @Description ：每类得分权重字典表---ABCD分数    
 * @Date: 2018年7月26日 下午3:33:22  
 * @Author QiaoYiLong 
 * @Version 3.1.1 DHC-DRG
 */
@Entity
@Table(name="MRQ_DICT_WEIGHT", schema = "DRGs")
public class MrqDictWeight extends KoalaLegacyEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5167208527450030264L;

	public MrqDictWeight(){
		super();
	}
	
	public MrqDictWeight(String id,String weightCode,String scoreCode,String weightName,Double weightScore){
		this.id = id ;
		this.weightCode = weightCode ;
		this.scoreCode = scoreCode ;
		this.weightName = weightName ;
		this.weightScore = weightScore;
	}
	
	/*该字段的getId()方法返回的不是String类型，而是下面的Serializable
	 * 	@Override
		public Serializable getId() {
			return id;
		}
	 */
	//主键
	@Id
	@Column(name = "ID",nullable=false)
	private String id;
	
	//得分权重编码	
	@Column(name = "WEIGHT_CODE",nullable=false)
	private String weightCode;
	
	//四大类检查i得分类别	
	@Column(name = "SCORE_CODE",nullable=false)
	private String scoreCode;
	
	//得分权重名称
	@Column(name = "WEIGHT_NAME")
	private String weightName;
	
	//得分权重得分
	@Column(name = "WEIGHT_SCORE")
	private Double weightScore;
	
	public String getWeightCode() {
		return weightCode;
	}

	public void setWeightCode(String weightCode) {
		this.weightCode = weightCode;
	}

	public String getScoreCode() {
		return scoreCode;
	}

	public void setScoreCode(String scoreCode) {
		this.scoreCode = scoreCode;
	}

	public String getWeightName() {
		return weightName;
	}

	public void setWeightName(String weightName) {
		this.weightName = weightName;
	}

	public Double getWeightScore() {
		return weightScore;
	}

	public void setWeightScore(Double weightScore) {
		this.weightScore = weightScore;
	}

	public void setId(String id) {
		this.id = id;
	}
	/*
	public String getId() {
		return id;
	}
*/
	@Override
	public Serializable getId() {
		return id;
	}

	@Override
	public String[] businessKeys() {
		// TODO Auto-generated method stub
		return null;
	}

}
